home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-13 / sw25.zip / SW.HL2 < prev    next >
Text File  |  1990-08-21  |  23KB  |  484 lines

  1.                                                       - Page  1 -
  2.   ────────────────────────────────────────────────────────────────────
  3.                               EDITING COMMANDS
  4.  
  5.      The following commands directly manipulate text by means of
  6.      insertion or deletion.
  7.   ────────────────────────────────────────────────────────────────────
  8.  
  9.      @$22                INSERT/REPLACE mode enables or disables the
  10.                          "character insert" mode.  This mode allows
  11.                          you to insert text without overwriting the
  12.                          current text.  When enabled, "INSERT" will
  13.                          appear on the status line; when disabled,
  14.                          "REPLACE" appears.
  15.  
  16.      @$23                DELETE removes the character at the cursor
  17.                          and moves the remaining text on that line
  18.                          one column to the left.
  19.  
  20.  
  21.  
  22.                                                       - Page  2 -
  23.  
  24.      @$24                BACKSPACE deletes the character to the
  25.                          immediate left of the cursor and moves the
  26.                          remaining text on that line one column to
  27.                          the left when the BACKSPACE MODE is set to
  28.                          destructive.  If non-destructive BACKSPACE
  29.                          MODE is active, the key functions as a left
  30.                          arrow.
  31.  
  32.      @$25                INSERT LINE inserts a new line before the
  33.                          current line.
  34.  
  35.      @$26                DELETE LINE deletes the current line.
  36.  
  37.  
  38.      @$76                DELETE TO EOL (End Of Line) deletes the
  39.                          text from the current cursor position to the
  40.                          end of the current line.
  41.  
  42.  
  43.                                                       - Page  3 -
  44.  
  45.      @$9                 JOIN LINE appends the next line to the end of
  46.                          the current line (providing the length of the
  47.                          resulting line will not exceed 1000 columns).
  48.  
  49.      @$46                MACRO RECORD starts or stops the recording
  50.                          of keys pressed to be used by the MACRO PLAY
  51.                          command.  When MACRO RECORD is invoked, all
  52.                          keys pressed are stored in a macro buffer.
  53.                          The number of characters in this buffer is
  54.                          displayed in the right corner of the status
  55.                          line.  The buffer will accomodate a maximum
  56.                          of 999 keys; any keys pressed after that
  57.                          will be ignored.
  58.  
  59.      @$48                MACRO PLAY repeats the keystrokes recorded
  60.                          by the last MACRO RECORD session.  These
  61.                          keystrokes will be repeated just as if you
  62.                          retyped the entire sequence.
  63.  
  64.                                                       - Page  4 -
  65.  
  66.      @$92                SAVE MACRO will save the macro recorded
  67.                          to the next macro keystroke entered.  For
  68.                          instance, if Macro 1 is configured as Alt-1,
  69.                          then you would immediately press Alt-1 after
  70.                          activating this function.  Macros 1 - 19 are
  71.                          saved in text files which may be edited (by
  72.                          SimplyWrite) - see the function key reference
  73.                          chart.  These files are, unless otherwise
  74.                          specified, named SWMACRO.001 - SWMACRO.019,
  75.                          where SWMACRO.001 corresponds with Macro 1
  76.                          and so on.
  77.  
  78.      @$93                Macro 1   @$98                Macro 6
  79.      @$94                Macro 2   @$99                Macro 7
  80.      @$95                Macro 3   @$100               Macro 8
  81.      @$96                Macro 4   @$101               Macro 9
  82.      @$97                Macro 5   @$102               Macro 10
  83.  
  84.  
  85.                                                       - Page  5 -
  86.  
  87.      @$103               Macro 11  @$108               Macro 16
  88.      @$104               Macro 12  @$109               Macro 17
  89.      @$105               Macro 13  @$110               Macro 18
  90.      @$106               Macro 14  @$111               Macro 19
  91.      @$107               Macro 15
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.                                                       - Page  6 -
  107.  
  108.      @$45                WORD WRAP enables or disables word wrap
  109.                          mode.  When WORD WRAP is enabled, a "WW" is
  110.                          displayed on the status line and any word
  111.                          that crosses the right margin is placed at
  112.                          the left margin of the next line.  WORD WRAP
  113.                          is only functional when the ruler is
  114.                          displayed; if the ruler is hidden you can
  115.                          surpass the right margin.  If WORD WRAP is
  116.                          not enabled, and the ruler is on, a warning
  117.                          tone sounds as you approach the right
  118.                          margin.
  119.  
  120.      @$43                AUTO INDENT toggles the auto
  121.                          indentation mode.  When AUTO INDENT is
  122.                          on, a "AI" appears on the status line.
  123.                          When <RETURN> is pressed, the cursor is
  124.                          placed in the same column as the first
  125.                          character on the previous line.
  126.  
  127.                                                       - Page  7 -
  128.  
  129.      @$40                LINE DRAW toggles the line drawing
  130.                          capabilities.  When LINE DRAW is enabled, a
  131.                          "[ ]" appears on the status line, with the
  132.                          line drawing character noted within the
  133.                          brackets.  Pressing the cursor keys will
  134.                          draw a line in that direction.
  135.  
  136.      @$41                When LINE DRAW is enabled, LINE SELECT
  137.                          selects the line format to be used.  The
  138.                          valid options are: [┌┘] for single line,
  139.                          [╔╝] for double line, [+-] for '+' and '-'
  140.                          symbols, and [' '] where the character
  141.                          between the quotes can be any character from
  142.                          the IBM PC character set.  Each time LINE
  143.                          SELECT is invoked, the next line style set
  144.                          becomes active.
  145.  
  146.  
  147.  
  148.                                                       - Page  8 -
  149.  
  150.      @$42                CHAR DRAW allows selection of the ASCII
  151.                          character used to draw the lines with LINE
  152.                          DRAW when LINE SELECT is set in the ASCII
  153.                          mode (['X']).  Use the cursor arrows to
  154.                          slide the character set under the pointer.
  155.                          Once selected, the character is displayed
  156.                          between the quotes withing the square
  157.                          brackets on the status line.  Pressing <ESC>
  158.                          terminates the option and selects the
  159.                          indicated character as the drawing
  160.                          hieroglyphic.
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.                                                       - Page  9 -
  170.  
  171.      @$49                FORMAT TEXT adjusts text into a left
  172.                          justified format within the current margin
  173.                          settings (provided the ruler is on).  The
  174.                          text to be formatted consists of the current
  175.                          line down to the next blank line.
  176.  
  177.                          In addition to formatting complete lines,
  178.                          columns of text may be formatted without
  179.                          affecting the surrounding text by enabling
  180.                          the crosshair (<F4>).  In this instance, the
  181.                          section of text to be formatted is
  182.                          represented "rectangularly":  bounded by the
  183.                          left margin and the crosshair, and the
  184.                          current line and the next blank line.  Text
  185.                          is formatted to fit within the left and
  186.                          right margin.  The crosshair must be placed
  187.                          in a column past the right margin.
  188.  
  189.  
  190.                                                       - Page 10 -
  191.  
  192.      @$50                DEL WORD RIGHT removes the word to the
  193.                          immediate right of the cursor position.  The
  194.                          next space or punctuation is considered the
  195.                          end of the word.  If the cursor is
  196.                          positioned at the end of the line when
  197.                          invoked, the following line is appended.
  198.  
  199.      @$60                CENTER LINE centers the current line of text
  200.                          between the right and left margins, then
  201.                          positions the cursor on the following line.
  202.                          It is not necessary for the ruler to be
  203.                          displayed.  The position of the cursor on
  204.                          the line is not significant; however, if the
  205.                          target text does not fit within the margins,
  206.                          no operation takes place.
  207.  
  208.  
  209.  
  210.  
  211.                                                       - Page 11 -
  212.  
  213.      @$61                UPPER CASE LINE changes all text characters
  214.                          of the current line to upper case.
  215.  
  216.      @$62                LOWER CASE LINE changes all text characters
  217.                          of the current line to lower case.
  218.  
  219.      @$47                REPEAT KEY prompts for the number of
  220.                          repetitions, then repeats the following
  221.                          keystroke the specified number of times.
  222.                          Pressing <ESC> will abort the operation.
  223.  
  224.      @$56                QUICK SAVE saves the current file and
  225.                          resumes editing without clearing the screen
  226.                          or leaving the text editing mode.  This
  227.                          option should be used occasionally during
  228.                          long edit sessions to help prevent
  229.                          accidental loss of text due to power
  230.                          failures or other catastrophes.
  231.  
  232.                                                       - Page 12 -
  233.  
  234.      @$78                SEARCH/REPLACE locates specified text in the
  235.                          current document and replaces it with the
  236.                          replacement text.  SEARCH/REPLACE requires
  237.                          three entries from the user.  The first
  238.                          entry is the text to be replaced, prompted
  239.                          by "Search".  The second entry, "Replace",
  240.                          prompts for the replacement text.  The last
  241.                          entry prompts for the control options.
  242.                          These options are:
  243.  
  244.                          G - Globally replace the search text; search
  245.                                commences at the beginning of the file.
  246.                          F - Search all text from the current line
  247.                                forward.
  248.                          U - Ignore the case of the search text.
  249.                          N - Replace text without user interaction.
  250.  
  251.  
  252.  
  253.                                                       - Page 13 -
  254.   ────────────────────────────────────────────────────────────────────
  255.                                TEXT COMMANDS
  256.  
  257.      Most of the following TEXT COMMANDS require that the text be
  258.      marked in order to perform an operation (see START TEXT and END
  259.      TEXT).  TEXT segments can be marked at the beginning of a line
  260.      or from within a line.  All text and space that exists
  261.      contiguously between the START TEXT and END TEXT marks is
  262.      affected.  When a TEXT segment is moved or copied, it is
  263.      inserted into its new location.  When a TEXT segment is deleted,
  264.      any lines and space consumed by the segment are removed from the
  265.      document.
  266.   ────────────────────────────────────────────────────────────────────
  267.  
  268.      @$51                START TEXT marks the beginning of a text
  269.                          block.  The beginning and end of a text
  270.                          block must be marked before any text block
  271.                          manipulation functions can be executed.
  272.  
  273.  
  274.                                                       - Page 14 -
  275.  
  276.      @$52                END TEXT marks the end of a text block.  The
  277.                          beginning and end of a text block must be
  278.                          marked before any text block manipulation
  279.                          functions can be executed.
  280.  
  281.      @$53                COPY TEXT duplicates the marked text and
  282.                          inserts the text copy at the current cursor
  283.                          position.
  284.  
  285.      @$54                DELETE TEXT removes the currently marked
  286.                          text and its corresponding space from the
  287.                          document.
  288.  
  289.      @$55                MOVE TEXT moves the marked text from its
  290.                          original position and inserts it at the
  291.                          current cursor position.
  292.  
  293.  
  294.  
  295.                                                       - Page 15 -
  296.  
  297.      @$58                READ TEXT reads a separate text file into
  298.                          document at the current cursor position.
  299.                          When read in, the new text is already marked
  300.                          and no prior marking is required.  READ TEXT
  301.                          inserts (rather than overwrites) the new
  302.                          text into the current document.  When
  303.                          instigating READ TEXT, you are prompted to
  304.                          enter the drive, directory path, and name of
  305.                          the file to be read.  If any wildcards (*,
  306.                          ?, etc.) are used in the specification, a
  307.                          directory appears allowing selection of any
  308.                          file within the list.
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.                                                       - Page 16 -
  317.  
  318.      @$59                WRITE TEXT writes a copy of the marked text
  319.                          to a separate text file.  You are prompted
  320.                          to enter the name (and corresponding
  321.                          specifications) of the file to receive the
  322.                          marked text.  If the file does not exist, it
  323.                          be created; if it already exists, a message
  324.                          stating so will appear asking if you wish to
  325.                          overwrite the file.
  326.  
  327.      @$57                HIDE/SHOW TEXT hides or rehighlights a
  328.                          marked section of text.  Marked text is
  329.                          highlighted and a "▒" appears on the status
  330.                          line.  When marked text is hidden, the text
  331.                          remains marked although it is not
  332.                          highlighted.  It is advisable to hide marked
  333.                          text since text change operations may occur
  334.                          at a slower rate due to increased screen
  335.                          updating.
  336.  
  337.                                                       - Page 17 -
  338.   ────────────────────────────────────────────────────────────────────
  339.                                BLOCK COMMANDS
  340.  
  341.      Most of the block commands that follow require that a block of
  342.      text be marked to perform an operation (see START BLOCK and END
  343.      BLOCK).  BLOCK segments differ from TEXT sections in that they
  344.      are defined by rectangular boundaries and need not include
  345.      entire lines of text.  When a BLOCK segment is moved or copied,
  346.      it overwrites its targeted area; no insertion occurs and the
  347.      positioning of the surrounding text is not affected.
  348.   ────────────────────────────────────────────────────────────────────
  349.  
  350.      @$68                START BLOCK marks the beginning of a block.
  351.                          The beginning and end of a block must be
  352.                          marked before any block operations can be
  353.                          executed.
  354.  
  355.  
  356.  
  357.  
  358.                                                       - Page 18 -
  359.  
  360.      @$69                END BLOCK marks the end of a block.  The
  361.                          beginning and end of a block must be marked
  362.                          before any block operations can be executed.
  363.  
  364.      @$70                COPY BLOCK duplicates the contents of the
  365.                          marked block and overwrites any existing
  366.                          text at the current cursor position.
  367.  
  368.      @$67                DELETE BLOCK removes the currently marked
  369.                          block from the document without affecting
  370.                          the positioning of surrounding text.
  371.  
  372.      @$71                MOVE BLOCK moves the marked block to the
  373.                          current cursor location.
  374.  
  375.  
  376.  
  377.  
  378.  
  379.                                                       - Page 19 -
  380.  
  381.      @$63                HIDE/SHOW BLOCK hides or rehighlights a
  382.                          marked block.  The marked block is
  383.                          highlighted and a "▒" appears on the status
  384.                          line.  When a marked block is hidden, the
  385.                          block remains marked although it is not
  386.                          highlighted.  It is advisable to hide a
  387.                          marked block since text change operations
  388.                          may occur at a slower rate due to increased
  389.                          screen updating.
  390.  
  391.      @$73                SORT BLOCK alphabetically and vertically
  392.                          sorts the contents of marked block.  You can
  393.                          either sort the entire contents of the line
  394.                          (Sort Line) or just the marked block (Sort
  395.                          Column).  You also indicate an ascending or
  396.                          descending sort order.
  397.  
  398.  
  399.  
  400.                                                       - Page 20 -
  401.  
  402.      @$64                READ BLOCK reads a separate test file into
  403.                          document at the current cursor position.
  404.                          When read in, the new text is already marked
  405.                          and requires no prior text marking.  READ
  406.                          BLOCK overwrites (rather than inserts into)
  407.                          any existing text in the current document.
  408.  
  409.      @$72                WRITE BLOCK copies the marked block to a
  410.                          separate text file.  You are prompted to
  411.                          enter the name of the file to receive the
  412.                          marked block.  If the file does not exist,
  413.                          it is created; if it already exists, a
  414.                          message stating so will appear asking if you
  415.                          wish to overwrite the file.  WRITE BLOCK
  416.                          outputs files with fixed-length lines (all
  417.                          lines in the receiving file are the same
  418.                          length).  Any lines that are not as wide as
  419.                          the marked block are padded with spaces.
  420.  
  421.                                                       - Page 21 -
  422.  
  423.     @$74                 SUM BLOCK adds every distinct number of
  424.                          every line within a marked block, and places
  425.                          the result at the current location of the
  426.                          cursor.  Negative numbers are subtracted and
  427.                          all positive numbers are added.  When using
  428.                          this function, all spaces, text (including
  429.                          parentheses) are merely considered
  430.                          seperators between the numbers, and the
  431.                          minus sign ('-') is the only valid notation
  432.                          for negative numbers.  If this function is
  433.                          invoked on a marked block which contains
  434.                          only text, a zero is returned.
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.                                                       - Page 22 -
  443.     @$91                 FORMAT BLOCK, will prompt to L)eft, R)ight,
  444.                          B)oth C)enter, or S)hrink justify the text that
  445.                          is within the block.  Entering a L, R, B, C, or
  446.                          S will complete the operation, any other
  447.                          character will abort it.  The LEFT option will
  448.                          remove all whitespace between the left edge of
  449.                          the block and the first character on each line
  450.                          within the block.  The RIGHT will remove all
  451.                          whitespace between the right edge of the block
  452.                          and the last character of each line within the
  453.                          block.  The BOTH option will lengthen the line
  454.                          by inserting whitespace between words until the
  455.                          line reaches the right edge of the block.  The
  456.                          CENTER option will distribute the remaining
  457.                          whitespace on both edges of the block (centering
  458.                          the line of text within).  The SHRINK option
  459.                          will remove redundant whitespace between words
  460.                          within the block, but leaves 2 spaces after
  461.                          every period.
  462.  
  463.                                                       - Page 23 -
  464.  
  465.      @$66                COLUMN LINE INSERT inserts a blank line
  466.                          between the current line and the next line
  467.                          within the current margins.  Only text in
  468.                          the designated column is affected.  All text
  469.                          within the designated column between the
  470.                          inserted line and the first blank line is
  471.                          moved down.  This minimizes the effects of
  472.                          the insertion on paragraphs below which lie
  473.                          within the margins.
  474.  
  475.      @$65                COLUMN LINE DELETE removes the current line
  476.                          within the current margins.  Only text in
  477.                          the desginated column is affected.  All text
  478.                          within the designated column between the
  479.                          deleted line and the first blank line is
  480.                          moved up between the margins.  This minimizes
  481.                          the effects of the deletion on paragraphs
  482.                          below which lie within the margins.
  483. ******************************************************************************
  484.